var express = require('express');
var router = express.Router();
var index=require('../controler/index')
/* GET home page. */
router.get('/',index.index);

//查询各个分类书籍列表
router.post('/bookList/:id', index.bookList);

//tab各个分类书籍列表
router.post('/headerBookList', index.headerBookList);

module.exports = router;
